<?php
/**
 * 根据传入的域名做初始化工作
 * 
 * @author chenping<chenping@shopex.cn>
 * @version 1.0
 */
error_reporting(E_ALL ^ E_NOTICE);

$domain = $argv[1];
$order_id = $argv[2];
$host_id = $argv[3];

if (empty($domain) || empty($order_id) || empty($host_id)) {
    die('No Params');
}

set_time_limit(0);


require_once(dirname(__FILE__) . '/../../lib/init.php');

cachemgr::init(false);
$db = kernel::database();
$sql = "INSERT INTO sdb_ome_iostock_type(type_id,type_name) values(700,'分销出库'),(800,'分销入库')";
$db->exec($sql);

